package com.situ.mail.shop.pojo;


import com.situ.mail.base.BaseClass;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 */
@Data
public class User extends BaseClass implements Serializable {
    /**非锁定*/
    public static final int IS_LOCK_NO = 0;
    /**锁定*/
    public static final int IS_LOCK_YES = 1;

    public static final int IS_ADMIN = 1;
    public static final int NOT_IS_ADMIN = 0;

    private Integer userType;

    private String userName;

    private String userCode;

    private String userPass;

    private String userPhone;

    private Integer isLock;

    private String lastLoginIp;

    private Date lastLoginDate;

    @Override
    public String toString() {
        return "User{" +
                "userType=" + userType +
                ", userName='" + userName + '\'' +
                ", userCode='" + userCode + '\'' +
                ", userPass='" + userPass + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", isLock=" + isLock +
                ", lastLoginIp='" + lastLoginIp + '\'' +
                ", lastLoginDate=" + lastLoginDate +
                ", rowId=" + rowId +
                ", activeFlag=" + activeFlag +
                ", createBy='" + createBy + '\'' +
                ", createDate=" + createDate +
                ", updateBy='" + updateBy + '\'' +
                ", updateDate=" + updateDate +
                '}';
    }
}